package com.technology.education.data.model

/**
 *@author:create by BZY
 *Date: 2022/3/21 11
 * 教师首页数据,接单状态,banner配置信息
 */
data class TeacherHomeModel(
    val carouselList: List<Carousel>, //轮播图列表
    val depositState: String,//	保证金状态 0未缴纳 1已缴纳
    val noticeList: List<Notice>,//公告列表
    val serviceState: String //接单状态 1接单中 0休息中
){
    val serviceStatus:String get() = if (serviceState=="1") "接单中 " else "休息中"
}

data class Carousel(
    val image: String,
    val url: String?
)

data class Notice(
    val title: String,
    val url: String?
)